package com.example.demo.client.vm.cssmqry.role;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;

/**
 * @Desc
 * @Author zhengmf
 * @Date 2019-12-31 15:20:24
 */
@Alias("PermissionTreeOfRoleVm")
@ApiModel
public class PermissionTreeOfRoleVm implements Serializable {
    private static final long serialVersionUID = 54257142503648017L;

    @ApiModelProperty("菜单id")
    private Long id;

    @ApiModelProperty("菜单名称")
    private String nameCn;

    @ApiModelProperty("菜单编码")
    private String nameEn;

    @ApiModelProperty("菜单父id")
    private Long parentId;

    @ApiModelProperty("url")
    private String url;

    @ApiModelProperty("排序号")
    private Long menuIndex;

    @ApiModelProperty("菜单类型")
    private String menuType;

    @ApiModelProperty("菜单描述")
    private String menuDesc;

    @ApiModelProperty("权限码")
    private String permissionCode;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getNameCn() {
        return nameCn;
    }

    public void setNameCn(String nameCn) {
        this.nameCn = nameCn;
    }

    public String getNameEn() {
        return nameEn;
    }

    public void setNameEn(String nameEn) {
        this.nameEn = nameEn;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Long getMenuIndex() {
        return menuIndex;
    }

    public void setMenuIndex(Long menuIndex) {
        this.menuIndex = menuIndex;
    }

    public String getMenuType() {
        return menuType;
    }

    public void setMenuType(String menuType) {
        this.menuType = menuType;
    }

    public String getMenuDesc() {
        return menuDesc;
    }

    public void setMenuDesc(String menuDesc) {
        this.menuDesc = menuDesc;
    }

    public String getPermissionCode() {
        return permissionCode;
    }

    public void setPermissionCode(String permissionCode) {
        this.permissionCode = permissionCode;
    }

    @Override
    public String toString() {
        return "PermissionTreeOfRoleVm{" +
            "id=" + id +
            ", nameCn='" + nameCn + '\'' +
            ", nameEn='" + nameEn + '\'' +
            ", parentId=" + parentId +
            ", url='" + url + '\'' +
            ", menuIndex=" + menuIndex +
            ", menuType='" + menuType + '\'' +
            ", menuDesc='" + menuDesc + '\'' +
            ", permissionCode='" + permissionCode + '\'' +
            '}';
    }
}
